#!/bin/bash

export REDIS_HOME=$REDIS_HOME

mkdir -p /opt/edp/${service.serviceName}/data/redis_7001/data
mkdir -p /opt/edp/${service.serviceName}/data/redis_7002/data
mkdir -p /opt/edp/${service.serviceName}/data/redis_7003/data

nohup $REDIS_HOME/bin/redis-server /opt/edp/${service.serviceName}/conf/redis_7001.conf > /dev/null 2>&1 &
nohup $REDIS_HOME/bin/redis-server /opt/edp/${service.serviceName}/conf/redis_7002.conf > /dev/null 2>&1 &
nohup $REDIS_HOME/bin/redis-server /opt/edp/${service.serviceName}/conf/redis_7003.conf > /dev/null 2>&1 &

tail -f /dev/null